<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>编辑项目</title>
		<link rel="stylesheet" type="text/css" href="__ROOT__/public/webapp/css/project.css"/>
		<link rel="stylesheet" type="text/css" href="__ROOT__/public/webapp/css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="__ROOT__/public/webapp/css/valide.css"/>
		<link rel="stylesheet" type="text/css" href="__ROOT__/public/webapp/css/swiper.min.css"/>
		<script src="__ROOT__/public/webapp/js/vwp.js" type="text/javascript" charset="utf-8"></script>
		<script src="__ROOT__/public/webapp/js/jquery-1.11.0.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	    <style>
    .alertMsg span{font-size:18px !important;}
    </style>
	<style>
/*
    select{float: left;width: 50%;}
    .release_input p:last-child{
    width: 50%;
    }
*/
    </style>
	<body>
        <div class="project_nav" style="top: 0px; z-index: 100; position: static;display: none;">
            <div class="project_navs project_nav2 project_index1" style="display: block;">
				<p class="pro_nav2active">住宅<i class="iconfont icon-left-top" style="display: inline;"></i></p>
				<p>写字楼<i class="iconfont icon-left-top"></i></p>
				<p>商铺<i class="iconfont icon-left-top"></i></p>
				<p>车位<i class="iconfont icon-left-top"></i></p>
			</div>
        </div>
		<!--content-->
		<div class="project_content">
			<!--发布项目-->
			<div class="release_project" style="display: block;">
				<!--发布项目---住宅---->
				<div class="form_content">
				 	<form  class="release_form1" method="post">
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-diqu"></i>区域</p>
		 				<p>
								<select name="chengshi" datatype="*" nullmsg="请选择所在城市！" onchange="$(this).next('select').selectCity(this);" value="{$vo['chengshi']}">
									<option value="">请选择</option>
									<option value="西安">西安</option>
									<option value="成都">成都</option>
									<option value="武汉">武汉</option>
									<option value="郑州">郑州</option>
								</select>
								<select name="quyu" datatype="*" nullmsg="请选择所在区域！" value="{$vo['quyu']}"> 
									<option value="">请选择</option>
								</select>
		 				</p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiaoqu"></i>小区</p>
			 				<p><input type="text" value="{$vo['buildname']}" placeholder="请输入名称" name="buildname" datatype="*2-50" nullmsg="小区名称不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-shouye1-copy"></i>地址</p>
			 				<p><input type="text" placeholder="请输入地址" name="dizhi" value="{$vo['dizhi']}" datatype="*2-50" nullmsg="小区地址不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-fq_xiaoshoudingjia"></i>价格</p>
			 				<p class="money_p">元/㎡</p>
			 				<p class="money_input"><input type="number" value="{$vo['jiage']}" placeholder="请输入" name="jiage" datatype="*" nullmsg="价格不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-yongjinguanli"></i>转介提成</p>
			 				<p><input type="text" value="{$vo['ticheng']}" placeholder="请输入：例，2%或一万元每套" name="ticheng" datatype="*" nullmsg="转介提成不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-naoling"></i>返佣时间</p>
			 				<p>
			 					<select name="fanyong" datatype="*" value="{$vo['fanyong']}" nullmsg="请选择返佣时间！">
				 					<option value="">请选择</option>
				 					<option value="1天后">1天后</option>
				 					<option value="3天后">3天后</option>
				 					<option value="5天后">5天后</option>
				 				</select>
			 				</p>
				 		</div>
				 		<div class="project_image selfclear">
				 			<p class="project_p"><i class="iconfont icon-zhaopian"></i>上传图片</p>
				 			<div class="imgmain_container house_wrap team_wrap">
				 			       <php>$thumbimg1=explode('|',$vo['thumb'])</php>
                                   <volist name="thumbimg1" id="a">
                                    <div style="position:relative;" class="new_img eds"><i class="iconfont icon-guanbi" onclick="imgRem(this);"></i><img src="{$a}" data-url="{$a}">
                                    </div>
                                    </volist>
								<div class="upimg_box left">
									<i class="iconfont icon-jiahao1"></i>
									<input type="file" name="" id="house_img" value="" multiple="multiple" />
									<input type="hidden" class="i_id" name="thumb" value="{$vo['thumb']}" datatype="*" nullmsg="请选择图片！"/>
								</div>
							</div>
							<if condition="$vo['thumbimg1'] neq NULL">
							<div class="prompt project_prompt">(第一张默认为封面，最多可上传9张)</div>
                            </if>
				 		</div>
				 		<div class="release_input release_textarea selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiangqing"></i>详情描述</p>
				 			<textarea placeholder="限200字" rows="" cols="" datatype="*" maxlength="200" name="des" nullmsg="详情描述为必填项！">{$vo['des']}</textarea>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xingming"></i>发布人姓名</p>
			 				<p><input type="text" placeholder="请输入发布人姓名" name="name" datatype="s2-18" nullmsg="发布人姓名不能为空！" value="{$vo['name']}" errormsg="昵称至少2个字符,最多18个字符！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-kehudianhua"></i>手机号</p>
			 				<p><input class="phone_code" type="number" placeholder="请输入手机号码" onfocus="this.placeholder=''" name="phone" datatype="phone" nullmsg="手机号不能为空！" errormsg="手机号格式错误！" value="{$vo['phone']}"/></p>
				 		</div>
				 		<div class="release_input release_code selfclear">
				 			<p class="release_p"><i class="iconfont icon-anquan2"></i>验证码</p>
			 				<p><input class="code_input" type="number" placeholder="请输入验证码" name="code" datatype="*" nullmsg="验证码不能为空！" errormsg="验证码错误！"/></p>
			 				<p class="huoqucode">发送验证码</p>
				 		</div>
				 		<input type="hidden" name="type" value="1">
				 		<input type="hidden" value="2" name="build">
				 		<div class="release_btn">
				 			<button type="submit">立即发布</button>
				 		</div>
				 	</form>
			 	</div>
			 	<!--发布项目---写字楼---->
			 	<div class="form_content">
				 	<form  class="release_form1" method="post">
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-diqu"></i>区域</p>
		 				<p>
								<select name="chengshi" datatype="*" nullmsg="请选择所在城市！" onchange="$(this).next('select').selectCity(this);" value="{$vo['chengshi']}">
									<option value="">请选择</option>
									<option value="西安">西安</option>
									<option value="成都">成都</option>
									<option value="武汉">武汉</option>
									<option value="郑州">郑州</option>
								</select>
								<select name="quyu" datatype="*" nullmsg="请选择所在区域！" value="{$vo['quyu']}"> 
									<option value="">请选择</option>
								</select>
		 				</p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiaoqu"></i>大厦</p>
			 				<p><input type="text" value="{$vo['buildname']}" placeholder="请输入名称" name="buildname" datatype="*2-50" nullmsg="小区名称不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-shouye1-copy"></i>地址</p>
			 				<p><input type="text" placeholder="请输入地址" name="dizhi" value="{$vo['dizhi']}" datatype="*2-50" nullmsg="小区地址不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-fq_xiaoshoudingjia"></i>价格</p>
			 				<p class="money_p">元/㎡</p>
			 				<p class="money_input"><input type="number" value="{$vo['jiage']}" placeholder="请输入" name="jiage" datatype="*" nullmsg="价格不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-yongjinguanli"></i>转介提成</p>
			 				<p><input type="text" value="{$vo['ticheng']}" placeholder="请输入：例，2%或一万元每套" name="ticheng" datatype="*" nullmsg="转介提成不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-naoling"></i>返佣时间</p>
			 				<p>
			 					<select name="fanyong" datatype="*" value="{$vo['fanyong']}" nullmsg="请选择返佣时间！">
				 					<option value="">请选择</option>
				 					<option value="1天后">1天后</option>
				 					<option value="3天后">3天后</option>
				 					<option value="5天后">5天后</option>
				 				</select>
			 				</p>
				 		</div>
				 		<div class="project_image selfclear">
				 			<p class="project_p"><i class="iconfont icon-zhaopian"></i>上传图片</p>
				 			<div class="imgmain_container house_wrap team_wrap">
				 			       <php>$thumbimg1=explode('|',$vo['thumb'])</php>
                                   <volist name="thumbimg1" id="a">
                                    <div style="position:relative;" class="new_img eds"><i class="iconfont icon-guanbi" onclick="imgRem(this);"></i><img src="{$a}" data-url="{$a}">
                                    </div>
                                    </volist>
								<div class="upimg_box left">
									<i class="iconfont icon-jiahao1"></i>
									<input type="file" name="" id="house_img" value="" multiple="multiple" />
									<input type="hidden" class="i_id" name="thumb" value="{$vo['thumb']}" datatype="*" nullmsg="请选择图片！"/>
								</div>
							</div>
							<if condition="$vo['thumbimg1'] neq NULL">
							<div class="prompt project_prompt">(第一张默认为封面，最多可上传9张)</div>
                            </if>
				 		</div>
				 		<div class="release_input release_textarea selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiangqing"></i>详情描述</p>
				 			<textarea placeholder="限200字" rows="" cols="" datatype="*" maxlength="200" name="des" nullmsg="详情描述为必填项！">{$vo['des']}</textarea>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xingming"></i>发布人姓名</p>
			 				<p><input type="text" placeholder="请输入发布人姓名" name="name" datatype="s2-18" nullmsg="发布人姓名不能为空！" value="{$vo['name']}" errormsg="昵称至少2个字符,最多18个字符！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-kehudianhua"></i>手机号</p>
			 				<p><input class="phone_code" type="number" placeholder="请输入手机号码" onfocus="this.placeholder=''" name="phone" datatype="phone" nullmsg="手机号不能为空！" errormsg="手机号格式错误！" value="{$vo['phone']}"/></p>
				 		</div>
				 		<div class="release_input release_code selfclear">
				 			<p class="release_p"><i class="iconfont icon-anquan2"></i>验证码</p>
			 				<p><input class="code_input" type="number" placeholder="请输入验证码" name="code" datatype="*" nullmsg="验证码不能为空！" errormsg="验证码错误！"/></p>
			 				<p class="huoqucode">发送验证码</p>
				 		</div>
				 		<input type="hidden" name="type" value="2">
				 		<input type="hidden" value="2" name="build">
				 		<div class="release_btn">
				 			<button type="submit">立即发布</button>
				 		</div>
				 	</form>
			 	</div>
			 	<!--发布项目---商铺---->
			 	<div class="form_content">
				 	<form  class="release_form1" method="post">
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-diqu"></i>区域</p>
		 				<p>
								<select name="chengshi" datatype="*" nullmsg="请选择所在城市！" onchange="$(this).next('select').selectCity(this);" value="{$vo['chengshi']}">
									<option value="">请选择</option>
									<option value="西安">西安</option>
									<option value="成都">成都</option>
									<option value="武汉">武汉</option>
									<option value="郑州">郑州</option>
								</select>
								<select name="quyu" datatype="*" nullmsg="请选择所在区域！" value="{$vo['quyu']}"> 
									<option value="">请选择</option>
								</select>
		 				</p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiaoqu"></i>商圈</p>
			 				<p><input type="text" value="{$vo['buildname']}" placeholder="请输入名称" name="buildname" datatype="*2-50" nullmsg="小区名称不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-shouye1-copy"></i>地址</p>
			 				<p><input type="text" placeholder="请输入地址" name="dizhi" value="{$vo['dizhi']}" datatype="*2-50" nullmsg="小区地址不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-fq_xiaoshoudingjia"></i>价格</p>
			 				<p class="money_p">元/㎡</p>
			 				<p class="money_input"><input type="number" value="{$vo['jiage']}" placeholder="请输入" name="jiage" datatype="*" nullmsg="价格不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-yongjinguanli"></i>转介提成</p>
			 				<p><input type="text" value="{$vo['ticheng']}" placeholder="请输入：例，2%或一万元每套" name="ticheng" datatype="*" nullmsg="转介提成不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-naoling"></i>返佣时间</p>
			 				<p>
			 					<select name="fanyong" datatype="*" value="{$vo['fanyong']}" nullmsg="请选择返佣时间！">
				 					<option value="">请选择</option>
				 					<option value="1天后">1天后</option>
				 					<option value="3天后">3天后</option>
				 					<option value="5天后">5天后</option>
				 				</select>
			 				</p>
				 		</div>
				 		<div class="project_image selfclear">
				 			<p class="project_p"><i class="iconfont icon-zhaopian"></i>上传图片</p>
				 			<div class="imgmain_container house_wrap team_wrap">
				 			       <php>$thumbimg1=explode('|',$vo['thumb'])</php>
                                   <volist name="thumbimg1" id="a">
                                    <div style="position:relative;" class="new_img eds"><i class="iconfont icon-guanbi" onclick="imgRem(this);"></i><img src="{$a}" data-url="{$a}">
                                    </div>
                                    </volist>
								<div class="upimg_box left">
									<i class="iconfont icon-jiahao1"></i>
									<input type="file" name="" id="house_img" value="" multiple="multiple" />
									<input type="hidden" class="i_id" name="thumb" value="{$vo['thumb']}" datatype="*" nullmsg="请选择图片！"/>
								</div>
							</div>
							<if condition="$vo['thumbimg1'] neq NULL">
							<div class="prompt project_prompt">(第一张默认为封面，最多可上传9张)</div>
                            </if>
				 		</div>
				 		<div class="release_input release_textarea selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiangqing"></i>详情描述</p>
				 			<textarea placeholder="限200字" rows="" cols="" datatype="*" maxlength="200" name="des" nullmsg="详情描述为必填项！">{$vo['des']}</textarea>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xingming"></i>发布人姓名</p>
			 				<p><input type="text" placeholder="请输入发布人姓名" name="name" datatype="s2-18" nullmsg="发布人姓名不能为空！" value="{$vo['name']}" errormsg="昵称至少2个字符,最多18个字符！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-kehudianhua"></i>手机号</p>
			 				<p><input class="phone_code" type="number" placeholder="请输入手机号码" onfocus="this.placeholder=''" name="phone" datatype="phone" nullmsg="手机号不能为空！" errormsg="手机号格式错误！" value="{$vo['phone']}"/></p>
				 		</div>
				 		<div class="release_input release_code selfclear">
				 			<p class="release_p"><i class="iconfont icon-anquan2"></i>验证码</p>
			 				<p><input class="code_input" type="number" placeholder="请输入验证码" name="code" datatype="*" nullmsg="验证码不能为空！" errormsg="验证码错误！"/></p>
			 				<p class="huoqucode">发送验证码</p>
				 		</div>
				 		<input type="hidden" name="type" value="3">
				 		<input type="hidden" value="2" name="build">
				 		<div class="release_btn">
				 			<button type="submit">立即发布</button>
				 		</div>
				 	</form>
			 	</div>
			 	<!--发布项目---车位---->
			 	<div class="form_content">
				 	<form  class="release_form1" method="post">
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-diqu"></i>区域</p>
		 				<p>
								<select name="chengshi" datatype="*" nullmsg="请选择所在城市！" onchange="$(this).next('select').selectCity(this);" value="{$vo['chengshi']}">
									<option value="">请选择</option>
									<option value="西安">西安</option>
									<option value="成都">成都</option>
									<option value="武汉">武汉</option>
									<option value="郑州">郑州</option>
								</select>
								<select name="quyu" datatype="*" nullmsg="请选择所在区域！" value="{$vo['quyu']}"> 
									<option value="">请选择</option>
								</select>
		 				</p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiaoqu"></i>小区/商圈</p>
			 				<p><input type="text" value="{$vo['buildname']}" placeholder="请输入名称" name="buildname" datatype="*2-50" nullmsg="小区名称不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-shouye1-copy"></i>地址</p>
			 				<p><input type="text" placeholder="请输入地址" name="dizhi" value="{$vo['dizhi']}" datatype="*2-50" nullmsg="小区地址不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-fq_xiaoshoudingjia"></i>价格</p>
			 				<p class="money_p">万元/㎡</p>
			 				<p class="money_input"><input type="number" value="{$vo['jiage']}" placeholder="请输入" name="jiage" datatype="*" nullmsg="价格不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-yongjinguanli"></i>转介提成</p>
			 				<p><input type="text" value="{$vo['ticheng']}" placeholder="请输入：例，2%或一万元每套" name="ticheng" datatype="*" nullmsg="转介提成不能为空！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-naoling"></i>返佣时间</p>
			 				<p>
			 					<select name="fanyong" datatype="*" value="{$vo['fanyong']}" nullmsg="请选择返佣时间！">
				 					<option value="">请选择</option>
				 					<option value="1天后">1天后</option>
				 					<option value="3天后">3天后</option>
				 					<option value="5天后">5天后</option>
				 				</select>
			 				</p>
				 		</div>
				 		<div class="project_image selfclear">
				 			<p class="project_p"><i class="iconfont icon-zhaopian"></i>上传图片</p>
				 			<div class="imgmain_container house_wrap team_wrap">
				 			       <php>$thumbimg1=explode('|',$vo['thumb'])</php>
                                   <volist name="thumbimg1" id="a">
                                    <div style="position:relative;" class="new_img eds"><i class="iconfont icon-guanbi" onclick="imgRem(this);"></i><img src="{$a}" data-url="{$a}">
                                    </div>
                                    </volist>
								<div class="upimg_box left">
									<i class="iconfont icon-jiahao1"></i>
									<input type="file" name="" id="house_img" value="" multiple="multiple" />
									<input type="hidden" class="i_id" name="thumb" value="{$vo['thumb']}" datatype="*" nullmsg="请选择图片！"/>
								</div>
							</div>
							<if condition="$vo['thumbimg1'] neq NULL">
							<div class="prompt project_prompt">(第一张默认为封面，最多可上传9张)</div>
                            </if>
				 		</div>
				 		<div class="release_input release_textarea selfclear">
				 			<p class="release_p"><i class="iconfont icon-xiangqing"></i>详情描述</p>
				 			<textarea placeholder="限200字" rows="" cols="" datatype="*" maxlength="200" name="des" nullmsg="详情描述为必填项！">{$vo['des']}</textarea>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-xingming"></i>发布人姓名</p>
			 				<p><input type="text" placeholder="请输入发布人姓名" name="name" datatype="s2-18" nullmsg="发布人姓名不能为空！" value="{$vo['name']}" errormsg="昵称至少2个字符,最多18个字符！"/></p>
				 		</div>
				 		<div class="release_input selfclear">
				 			<p class="release_p"><i class="iconfont icon-kehudianhua"></i>手机号</p>
			 				<p><input class="phone_code" type="number" placeholder="请输入手机号码" onfocus="this.placeholder=''" name="phone" datatype="phone" nullmsg="手机号不能为空！" errormsg="手机号格式错误！" value="{$vo['phone']}"/></p>
				 		</div>
				 		<div class="release_input release_code selfclear">
				 			<p class="release_p"><i class="iconfont icon-anquan2"></i>验证码</p>
			 				<p><input class="code_input" type="number" placeholder="请输入验证码" name="code" datatype="*" nullmsg="验证码不能为空！" errormsg="验证码错误！"/></p>
			 				<p class="huoqucode">发送验证码</p>
				 		</div>
				 		<input type="hidden" name="type" value="4">
				 		<input type="hidden" value="2" name="build">
				 		<div class="release_btn">
				 			<button type="submit">立即发布</button>
				 		</div>
				 	</form>
			 	</div>
			</div>
		
		</div>

		<!--表单提示信息-->
		<div class="alertMsg">
	    	<span></span>
	    </div>
		<script src="__ROOT__/public/webapp/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="__ROOT__/public/webapp/js/template.js" type="text/javascript" charset="utf-8"></script>
		<script src="__ROOT__/public/webapp/js/Validform_v5.3.2_min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__ROOT__/public/webapp/js/swiper.jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__ROOT__/public/webapp/js/project.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			//验证码
	        fsTime.init({
	            class:".huoqucode",
	            input:".phone_code",
	            code:".code_input",
	            num:60
	        });
		   	// 轮播图
			var swiper = new Swiper('.swiper-container', {
				pagination: '.swiper-pagination',
				paginationClickable: true,
				autoplay: 2000,
				loop: true
			});
			$(document).ready(function(){
				//		固定
			var conheight = $(".project_content").height()+$(".project_nav").height();
			var widheight = $(document).height();
			var oTop = widheight-conheight;
			console.log(conheight);
			console.log(widheight);
			console.log(oTop);
			$(window).scroll(function(){
				var sTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
				if(sTop >= oTop){
					$(".project_nav").css({"position":"fixed","top":"0","z-index":"100"});
				}else{
					$(".project_nav").css({"position":"static"});
				};
			});
			
			//			提示隐藏
			if($(".house_wrap").find(".new_img").length >= 1){
				$(this).parent().find(".prompt").hide();
			};
			console.log($(".house_wrap").find(".new_img").length );
			
			
				
				//			表单验证
				$.Tipmsg.r=null;
	      
					
				var showmsg=function(msg){
					toggleAlert(msg);
				};
				//		message
				var toggleAlert=function(msg){
		    		$(".alertMsg").addClass("on").find("span").html(msg);
		    		setTimeout(function(){
		    			$(".alertMsg").removeClass("on");
		    		},1000);
		    	};
				
				$(".releaseteam_form,.release_form1,.release_form2,.release_form3,.release_form4").Validform({
					datatype:{
						"phone":function(gets,obj,curform,regxp){
							/*参数gets是获取到的表单元素值，
							  obj为当前表单元素，
							  curform为当前验证的表单，
							  regxp为内置的一些正则表达式的引用。*/
			
							var reg1=/^1(3|4|5|7|8)[0-9]\d{8}$/,
								reg2=/^1(3|4|5|7|8)[0-9]\d{8}$/,
								mobile=curform.find(".mobile");
							
							if(reg1.test(mobile.val())){return true;}
							if(reg2.test(gets)){return true;}
							
							return false;
						},
					},
					ajaxPost:false,
					tiptype:function(msg){
						showmsg(msg);
					},
					tipSweep:true,
				});
		    });
		    $("input[type=file]").imgupload();
            
    var imgzy=function(img){
        var src="";
        if(img.indexOf("|")!=-1){
            src=img.split("|")[0];
        }else{
            src=img;
        }
        return src;
    }
        setTimeout(function(){
           $(".project_nav p").eq({$vo['type']}-1).trigger("click"); 
        },50);
        reList({chengshi:"西安",build:1},1);    
         $("select").selectSelected();    
        reList(quzhi(),2);
		</script>
	</body>
</html>
	
		
		
		
		
	